home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
tex
/
sauter.zip
/
00README
next >
Wrap
Text File
|
1990-12-01
|
3KB
|
74 lines
This is the John Sauter's CM ont resizing kit. It was obtained 11/17/90
from sun.soe.clarkson.edu.
Because fonts generated at a given point size are prettier than magnified
versions of a 10-point font, you may want to generate fonts for every
size you use, and use only one magnification for each output device.
For example, for a HP laserjet, instead of using cmr10 magstep 5
(pk/746/cmr10.pk), you would generate a 25-pt cmr, and access cmr25 with
no magstep. (pk/300/cmr25.pk)
If you generate sets of fonts for LaTeX, you will need to edit your
lfonts.tex file and re-generate your lplain format.
One such lfonts.tex file is included here. A good approach is to generate
a core set of font sizes for LaTeX, and then generate more fonts only
when your dvi processor can't find a specific magnification.
Some batch files have
been provided to help automate the process of font generation. These
batch programs require 4DOS3.x. There is no good excuse not to be running
4dos, which can be pulled from SIMTEL20, but I imagine conversion to another
batch language should be simple. To make full use of these tools, some
version of awk (GNU awk is excellent and free) is called for.
The unix shell scripts from an earlier distribution are also included as
a model.
1) make_mf.btm, maket_mf.btm:
These are called from the command line with the family name and the
desired sizes, and generate files in a target MF input directory
that build the appropriate fonts in the specified sizes.
They also dump the file names into a file named l-new, for generation
of a BAT file to control METAFONT.
make_mf adjusts the size be a power of 1.2 if it is one of the 'standard'
sizes (11,14,17,20,25,30). maket_mf does not.
The file 0readme is the file that came with this kit, and describes
the files that these batch programs build.
2) domf.awk:
This file converts a series of family/size names into a batch file
to control METAFONT. Internally set variables control the invokation
of METAFONT and modes & other commands.
3) mk_missn.btm, mk_info.btm, mk_latex.btm
These generate sets of MF files.
mk_missn.btm - makes a set of 'missing' latex sizes, so LaTeX can
be run without magnifications.
mk_latex.btm - generates a more comprehensive set of LaTeX sizes.
The file lfonts.tex is a replacement that contains
font definitions for proper font sizes.
mk_info.btm - makes a set of sizes for GNU's TeXinfo files.
The file texinfo.pat contains the cdiff to make
texinfo 2.1 use proper font sizes.
an example session:
make_mf cmr 11 14 17 20 25 30 (creates entries cmr14-cmr30 in l-new)
make_mf cmssq 12 14 17 10 9 (creates entries cmssq12-cmssq9 in l-new)
(adjust parameters in domf.awk for desired output resolution)
mv l-new l-name
gawk -f domf.awk l-name > do.bat (create a MSDOS batch file to run MF)
.\do (run the batch file)
(wait. . .)
cp *.tfm c:\l\tex\fonts\tfm (copy the .tfm files to the TFM directory)
for i in (*.300) gftopk %i (make .pk files from one magnification)
cp *.pk c:\l\tex\fonts\pk\300 (move the .pk files to the right directory)